//
//  FleetDeleteAPI.m
//  StarOrangeStaff
//
//  Created by lshenrong on 2020/7/14.
//  Copyright © 2020 lshenrong. All rights reserved.
//

#import "FleetDeleteAPI.h"

@interface FleetDeleteAPI()

@property (nonatomic,copy) NSString *fleetType;
@property (nonatomic,copy) NSString *fleetID;

@end

@implementation FleetDeleteAPI

- (instancetype)initWithFleetType:(NSString *)fleetType
                          fleetID:(NSString *)fleetID {
    if (self = [super init]) {
        self.fleetType = fleetType;
        self.fleetID = fleetType;
        [self testDataAPI];
    }
    return self;
}

- (void)testDataAPI {
      self.fleetType = @"2";
      self.fleetID = @"2";
}

- (NSString *)requestUrl {
    return @"message/fleet/delete";
}



- (id)requestAppendArgument{
    AvoidNullString(self.fleetID);
    AvoidNullString(self.fleetType);

    return @{
                @"fleetType":self.fleetType,
                @"fleetID":self.fleetID,
            };
}



@end
